{"ast":null,"code":"export function toArray(value) {\n  if (value === undefined || value === null) {\n    return [];\n  }\n  return Array.isArray(value) ? value : [value];\n}","map":{"version":3,"names":["toArray","value","undefined","Array","isArray"],"sources":["/data/messenger.client/node_modules/rc-field-form/es/utils/typeUtil.js"],"sourcesContent":["export function toArray(value) {\n  if (value === undefined || value === null) {\n    return [];\n  }\n  return Array.isArray(value) ? value : [value];\n}"],"mappings":"AAAA,OAAO,SAASA,OAAO,CAACC,KAAK,EAAE;EAC7B,IAAIA,KAAK,KAAKC,SAAS,IAAID,KAAK,KAAK,IAAI,EAAE;IACzC,OAAO,EAAE;EACX;EACA,OAAOE,KAAK,CAACC,OAAO,CAACH,KAAK,CAAC,GAAGA,KAAK,GAAG,CAACA,KAAK,CAAC;AAC/C"},"metadata":{},"sourceType":"module"}